#include "simple_validator.h"
#include "gtest/gtest.h"

namespace {

TEST(SimpleValidatorTest, TestEmptyEquation) {
  SimpleValidator sval;
  ASSERT_EQ(SimpleValidator::EmptyEquation, sval.DoValidation());
  sval.set_equation("");
  ASSERT_EQ(SimpleValidator::EmptyEquation, sval.DoValidation());
}

}

int main(int argc, char **argv) {
  ::testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}
